package com.SmartCare.service.health;

import com.baomidou.mybatisplus.extension.service.IService;
import com.SmartCare.common.Result;
import com.SmartCare.pojo.health.BloodGlucose;


public interface BloodGlucoseService extends IService<BloodGlucose> {
    /**
     * 一周血糖记录查询
     *
     * @param elderlyId
     * @param startTime
     * @param endTime
     */
    Result bloodGlucoseQuery(Long elderlyId, String moment, String startTime, String endTime);
    /**
     * 血糖记录添加
     * @param elderlyId
     * @param bloodGlucose
     * @param moment
     */
    Result bloodGlucoseAdd(Long elderlyId, Float bloodGlucose, String moment);
}
